home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 August / macformat-040.iso / mac / Demos / Secrets of the Luxor® Demo / invitem / 00032.ls < prev    next >
Encoding:
Text File  |  1996-04-26  |  266 b   |  14 lines

  1. on mouseDown
  2.   set the visible of sprite 9 to 0
  3.   updateStage()
  4.   repeat while the mouseDown
  5.     nothing()
  6.   end repeat
  7.   set the visible of sprite 9 to 1
  8.   if rollOver(9) then
  9.     puppetSprite(2, 0)
  10.     puppetTransition(23, 0, 12, 1)
  11.     go("exitinv")
  12.   end if
  13. end
  14.